package com.chance.cc.crawler.prod.command.node.xhs.notes;


import com.chance.cc.crawler.development.command.node.CrawlerNodeCommand;
import com.chance.cc.crawler.prod.command.job.domain.news.xhs.notes.XhsInitCrawlerSchedulerJob;
import com.chance.cc.crawler.prod.command.job.domain.news.xhs.notes.XhsSyncCrawlerSchedulerJob;
import com.chance.cc.crawler.prod.command.job.domain.news.xhs.notes.simple.XhsUserNotesSimpleCrawlerSchedulerJob;
import com.chance.cc.crawler.prod.command.trigger.domain.news.xhs.notes.XhsUserNotesCommonCrawlerTrigger;

/**
 * @author lt
 * @version 1.0
 * @date 2021-06-17 15:35:46
 * @email okprog@sina.com
 */
public class XhsUerNotesCrawlerNode {

    public static void main(String[] args) {
        CrawlerNodeCommand crawlerNodeCommand = new CrawlerNodeCommand("192.168.1.209",9505);
        crawlerNodeCommand.killCrawler(XhsInitCrawlerSchedulerJob.crawlerScheduler());
        crawlerNodeCommand.killCrawler(XhsSyncCrawlerSchedulerJob.crawlerScheduler());
        crawlerNodeCommand.nodeStatus();
    }
}
